package Command;

public class Light implements Lightable {
    private int id;
    public Light(int id) {
        this.id = id;
    }
    @Override
    public void turnOn() {
        System.out.println(id + " turn on");
    }
    @Override
    public void turnOff() {
        System.out.println(id + " turn off");
    }
}
